/**
 * <pre>
 * Copyright:		Copyright(C) 2011-2012, ketayao.com
 * Filename:		com.ygsoft.security.dao.OrganizationDao.java
 * Class:			OrganizationDao
 * Date:			2012-8-27
 * Author:			<a href="mailto:ketayao@gmail.com">ketayao</a>
 * Version          1.1.0
 * Description:		
 *
 * </pre>
 **/

package com.nisco.dms.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.nisco.dms.entity.SqlTable;

/**
 * 
 * @author Robin
 * 
 */
public interface SqlTableDao extends JpaRepository<SqlTable, String> {
	Page<SqlTable> findByTabNameContaining(String tabName, Pageable pageable);
	
	SqlTable findByStatus(String status);
}
